/******************************************************************************
COPYRIGHT (C) 2013 by IT-Designers GmbH

File:		StringIdObject.cpp
Created:	12.04.2013
Modified:	12.04.2013
Author:		Max Pejs
******************************************************************************/
#include "StringIdObject.h"

StringIdObject::StringIdObject(string s):id(s){}

StringIdObject::~StringIdObject(){}

string StringIdObject::Id() const
{
	return id;
}

bool StringIdObject::operator== (const StringIdObject &other) const
{
	return id.compare(other.Id()) == 0;
}